{% extends "base.html" %}

{% block content %}
<div id="content-index">
<center>
	{{ error }}
	<div id="loading">
        <p>
            <img src="images/loading.gif" />
        </p>
    </div>
	
	<form method="post" name="getdata" onSubmit="scramblingkey(); return false;" action="/checkdata">
		<div id="label">ReadKey:<input type="text" id="key" name="key" value="{{ key }}"><div id="check">Incorrect format of Key</div>
		<input type="submit" id="sub" value="OK" class="button red"></div>
	</form>
</center>
</div>
{% endblock %}